<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="keywords" content="{{keywords}}">
    <meta name="description" content="{{description}}">
    <title>博客</title>
    <link rel="stylesheet" href="/public/stylesheets/common/bootstrap.css">
    <link rel="stylesheet" href="/public/stylesheets/index.css">
    {{block 'style'}} {{/block}}
</head>

<body>
      <!-- 头部导航 -->
        <nav class="navbar navbar-expand-lg navbar-light bg-light">
                <a class="navbar-brand" href="#">管理后台</a>
                <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                  <span class="navbar-toggler-icon"></span>
                </button>
              
                <div class="collapse navbar-collapse" id="navbarSupportedContent">
                  <ul class="navbar-nav mr-auto">
                    <li class="nav-item active">
                      <a class="nav-link" href="/admin/user">用户管理<span class="sr-only">(current)</span></a>
                    </li>
                    
                    <li class="nav-item dropdown">
                      <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                        分类管理
                      </a>
                      <div class="dropdown-menu" aria-labelledby="navbarDropdown">
                        <a class="dropdown-item" href="/admin/categories">分类首页</a>
                        <a class="dropdown-item" href="/admin/categories/edit">分类添加</a>
                        <!-- <a class="dropdown-item" href="#">Another action</a>
                        <div class="dropdown-divider"></div>
                        <a class="dropdown-item" href="#">Something else here</a>
                      </div> -->
                    </li>
                    <li class="nav-item dropdown">
                            <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                              内容管理
                            </a>
                            <div class="dropdown-menu" aria-labelledby="navbarDropdown">
                              <a class="dropdown-item" href="/admin/content">内容首页</a>
                              <a class="dropdown-item" href="/admin/content/edit">内容添加</a>
                              <!-- <a class="dropdown-item" href="#">Another action</a>
                              <div class="dropdown-divider"></div>
                              <a class="dropdown-item" href="#">Something else here</a>
                            </div> -->
                          </li>

                          <li class="nav-item dropdown">
                              <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                音频管理
                              </a>
                              <div class="dropdown-menu" aria-labelledby="navbarDropdown">
                                <a class="dropdown-item" href="/admin/audioList">音频首页</a>
                                <a class="dropdown-item" href="/admin/audioAdd">音频添加</a>
                                <!-- <a class="dropdown-item" href="#">Another action</a>
                                <div class="dropdown-divider"></div>
                                <a class="dropdown-item" href="#">Something else here</a>
                              </div> -->
                            </li>
                    <li class="nav-item">
                      <a class="nav-link  " href="/">前台</a>
                    </li>
                  </ul>
                  <form class="form-inline my-2 my-lg-0">
                    <input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
                    <button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
                  </form>
                </div>
              </nav>
     {{block 'head'}}
     {{/block}}
    <div class="container-fluid" style="padding:20px;min-height: 800px">
     {{block  'content'}}

     {{/block}}

    </div>
    <div class="card text-white bg-dark   "   >
        <!-- <div class="card-header">Header</div> -->
        <div class="card-body container">
            <h5 class="card-title">All rights reserved by the developer</h5>
            <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's
                content.</p>
        </div>
    </div>
    {{include '../template/requireConfig.html'}}

    {{block 'js_script'}}
    {{/block}}

</body>

</html>